home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
e
/
ddmoduls.lha
/
dd_Modules
/
dd_dos
/
dd_filenotifytest.e
< prev
Wrap
Text File
|
1995-08-13
|
375b
|
19 lines
MODULE '*dd_filenotify'
MODULE 'dos/dos'
PROC main()
DEF prefsnotify:PTR TO filenotify
DEF mask
NEW prefsnotify.new('SYS:')
mask:=Wait(SIGBREAKF_CTRL_C OR
prefsnotify.signalmask())
IF mask AND SIGBREAKF_CTRL_C
PrintF('quit.\n')
CleanUp()
ENDIF
IF mask AND prefsnotify.signalmask()
PrintF('notification.\n')
ENDIF
END prefsnotify
ENDPROC